<template>
  <div class="MidLeft">
    <div class="titlestyle"><img src="@/assets/image/pickgoodssmall.svg" alt="" class="iconstyle"><span>拣货</span>
    </div>
    <div class="MidLeftcontent">
      <div class="cursorstyle">
        <div><img src="@/assets/image/waitforpick.svg" alt="" class="iconstyle"> 待拣货 ></div>
        <div>{{ themidleftinfo.numwaitforpick }}</div>
      </div>
      <div class="cursorstyle">
        <div><img src="@/assets/image/ispicking.svg" alt="" class="iconstyle"> 拣货中 ></div>
        <div>{{ themidleftinfo.numispicking }}</div>
      </div>
      <div class="cursorstyle">
        <div><img src="@/assets/image/waitfordecieded.svg" alt="" class="iconstyle"> 待定案 ></div>
        <div>{{ themidleftinfo.numwatirdecided }}</div>
      </div>
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
// import {wmsOrderDataGroup} from '../../api/handlechargeorder'

export default {
  name: 'MidLeft',
  components: {},
  props: {
    themidleftinfo: {
      type: Object,
      required: true
    }
  },
  data() {
    return {
      numwaitforpick: 0,
      numispicking: 0,
      numwatirdecided: 0
    }
  },
  computed: {
    ...mapGetters([
      'position',
      'storeId',
      'userId',
      'name'
    ])
  },
  created() {
  },
  mounted() {
  },
  methods: {
  }
}
</script>

<style lang="scss">
    .MidLeft {
        .iconstyle {
            display: inline-block;
            height: 25px;
            width: 25px;
            vertical-align: middle
        }

        .cursorstyle {
            cursor: pointer;
        }

        .titlestyle {
            padding-left: 20px;
            font-size: 16px;
            font-weight: bold;
            width: 100%;
            height: 50px;
            line-height: 50px;
            border-bottom: 1px solid lightgray;
            border-right: 1px solid lightgray;
        }

        .iconstyle {
            font-size: 20px;
            font-weight: bold;
            margin-right: 10px;
        }

        .MidLeftcontent {
            display: flex;
            width: 100%;
            height: 150px;
        }

        .MidLeftcontent > div {
            flex: 1;
            text-align: center;
            padding-top: 20px;
            border-right: 1px solid lightgray;
        }

        .MidLeftcontent > div > div:nth-child(1) {
            font-size: 18px;
            color: gray;
        }

        .MidLeftcontent > div > div:nth-child(2) {
            margin-top: 20px;
            font-weight: bold;
            font-size: 18px;
        }

    }
</style>
